[#import "/framework/JGP.htm"  as JGP]
<!--
项目   parent
作者   LOUFEI [Gavin]
时间   2018/4/12
-->
[@JGP.head "Title"/]
[@JGP.body]
    <jgp-div _row="['40','*']" _runit="px">
        <div slot="1-1">
            <jgp-btn _fn="saveCallback" _form="userForm">保存</jgp-btn>
        </div>
        <jgp-panel slot="2-1" >
            <jgp-form _id="userForm" _action="/security/admin/adminApiController/createUser" _cols="12"
                      _fdata='${fdata!''}'>
                <jgp-text _name="username" _col="12" _label="用户名" _placeholder="用户名" _required="true"></jgp-text>
                <jgp-text _name="realName" _col="12" _label="真实姓名" _placeholder="真实姓名" _required="true"></jgp-text>
                <jgp-text _name="password" _col="12" _label="密码" _placeholder="密码" _required="true"></jgp-text>
                <jgp-text _name="tel" _col="12" _label="电话" _placeholder="电话" _required="true"></jgp-text>
                <jgp-text _name="email" _col="12" _label="邮箱" _placeholder="邮箱" _required="true"></jgp-text>
                <jgp-radio _name="lock" _value="false" _col="12"
                           _list="[{'label':'是','value':true},{'label':'否','value':false}]"
                           _label="是否锁定"></jgp-radio>
            </jgp-form>
        </jgp-panel>
    </jgp-div>
[/@JGP.body]

[@JGP.foot]
    <script>
        function saveCallback(result) {
            JGP.$close();
        }
    </script>
[/@JGP.foot]